<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="renderer" content="webkit">
		<meta name="applicable-device" content="pc,mobile">
    <title>添加分类</title>
    <!-- 使用load标签加载资源文件 -->
    <link rel="stylesheet" type="text/css" href="./assets/css/bootstrap.min.css">
    <script type="text/javascript" src="./assets/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="./assets/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <jsp:include page="header2.jsp"></jsp:include>
    <div class="row">
        <div class="col-md-2 text-center">
            <!-- 左侧菜单 -->
            <!-- 左侧4列 -->
            <!-- 非超级管理员是不允许进行系统管理操作的 -->
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h3">系统管理</li>
                <li>
                    <a href="sitesettings.html"><span class="glyphicon glyphicon-cog"></span>&nbsp;网站管理</a>
                </li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h3">用户管理</li>
                <li><a href="userlist.html"><span class="glyphicon glyphicon-user"></span>&nbsp;用户列表</a></li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h3">文章管理</li>
                <li><a href="categorylist.html"><span class="glyphicon glyphicon-lock"></span>&nbsp;分类管理</a></li>
                <li><a href="articlelist.html"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;文章管理</a></li>
            </ul>
        </div>
        <!-- 右侧功能区 -->
        <div class="col-md-10">
            <!-- 用户自定义区块 -->


            <h4 class="text-center text-danger">添加分类信息</h4>
            <form class="form-horizontal" action="http://www.new.io/admin.php/cate/doadd.html" method="get">
                <div class="form-group">
                    <label class="col-sm-2 control-label">名称:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" value="">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">排序:</label>
                    <div class="col-sm-10">
                        <input type="number" class="form-control" name="sort" value="">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">状态:</label>
                    <div class="col-sm-10">
                        <label class="radio-inline">
                            <input type="radio" name="status" value="1" checked=""> 显示
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="status" value="0"> 隐藏
                        </label>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-info">新增</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>